package com.chinaunicom.structure.decorator;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/28 16:00
 * Description: 具体构件
 */
public class FriedRice extends FastFood{
    public FriedRice(float price) {
        super(price);
    }

    @Override
    public float cost() {
        return this.price;
    }
}
